/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.pa165.carpark.dao;

import cz.muni.fi.pa165.carpark.entities.User;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 *
 * @author Martin
 */
public interface UserDAO {
    
    public UserDetails loadUserByUsername(String string) throws UsernameNotFoundException;
    public void create(User u);
}
